package com.example.hy2110szyx.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class FlightVo {

    private Integer id;

    private Date departureTime;

    private Date landingTime;

    private String fromCity;

    private String toCity;

    private String fno;

    private String cno;

    private Double price;

    private Integer balance;

    public FlightVo(String toCity, String fno, Double price) {
        this.toCity = toCity;
        this.fno = fno;
        this.price = price;
    }
}
